###############################################################################
##########  PACKAGE:  eve_const.pm
##########  PURPOSE:  Provides list of global constants
###############################################################################
package eve_const;
use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(
	DEBUG
	API_ACCOUNT_CHARACTERS
	API_ACCOUNT_ACCOUNTSTATUS
	API_CHAR_ACCOUNTBALANCE
	API_CHAR_ASSETLIST
	API_CHAR_CALENDAREVENTATTENDEES
	API_CHAR_CHARACTERSHEET
	API_CHAR_CONTACTLIST
	API_CHAR_CONTACTNOTIFICATIONS
	API_CHAR_FAXWARSTATS
	API_CHAR_INDUSTRYJOBS
	API_CHAR_KILLLOG
	API_CHAR_MAILBODIES
	API_CHAR_MAILINGLISTS
	API_CHAR_MAILMESSAGES
	API_CHAR_MARKETORDERS
	API_CHAR_MEDALS
	API_CHAR_NOTIFICATIONS
	API_CHAR_NOTIFICATIONSTEXT
	API_CHAR_RESEARCH
	API_CHAR_SKILLINTRAINING
	API_CHAR_SKILLQUEUE
	API_CHAR_STANDINGS
	API_CHAR_UPCOMINGCALENDAREVENTS
	API_CHAR_WALLETJOURNAL
	API_CHAR_WALLETTRANSACTIONS
	API_CORP_ACCOUNTBALANCE
	API_CORP_ASSETLIST
	API_CORP_CONTACTLIST
	API_CORP_CONTAINERLOG
	API_CORP_CORPORATIONSHEET
	API_CORP_FACWARSTATS
	API_CORP_INDUSTRYJOBS
	API_CORP_KILLOG
	API_CORP_MARKETORDERS
	API_CORP_MEDALS
	API_CORP_MEMBERMEDALS
	API_CORP_MEMBERSECURITY
	API_CORP_MEMBERSECURITYLOG
	API_CORP_MEMBERTRACKING
	API_CORP_OUTPOSTLIST
	API_CORP_OUTPOSTSERVICEDETAIL
	API_CORP_SHAREHOLDERS
	API_CORP_STANDINGS
	API_CORP_STARBASEDETAIL
	API_CORP_STARBASELIST
	API_CORP_TITLES
	API_CORP_WALLETJOURNAL
	API_CORP_WALLETTRANSACTIONS
	API_EVE_ALLIANCELIST
	API_EVE_CERTIFICATETREE
	API_EVE_CHARACTERID
	API_EVE_CHARACTERINFO
	API_EVE_CHARACTERNAME
	API_EVE_CONQUERABLESTATIONLIST
	API_EVE_ERRORLIST
	API_EVE_FACWARSTATS
	API_EVE_FACWARTOPSTATS
	API_EVE_REFTYPES
	API_EVE_SKILLTREE
	API_MAP_FACWARSYSTEMS
	API_MAP_JUMPS
	API_MAP_KILLS
	API_MAP_SOVEREIGNTY
	API_SERVER_SERVERSTATUS
	DATA_DIR
	CACHE_DIR
	DUMP_DIR
	OUTPUT_DIR
	LOG_DIR
	LOG_FILE
	DEBUG_FILE
	TRANQUILITY
	SINGULARITY
);

use constant {
#Debug level
# 0 = OFF
# 1 = Logfiles but no data dumps
# 2 = Full
	DEBUG => 2,
#List of api pages
#Account API
	API_ACCOUNT_CHARACTERS    => '/account/Characters.xml.aspx',
	API_ACCOUNT_ACCOUNTSTATUS => '/account/AccountStatus.xml.aspx',
#Character API
	API_CHAR_ACCOUNTBALANCE         => '/char/AccountBalance.xml.aspx',
	API_CHAR_ASSETLIST              => '/char/AssetList.xml.aspx',
	API_CHAR_CALENDAREVENTATTENDEES => '/char/CalendarEventAttendees.xml.aspx',
	API_CHAR_CHARACTERSHEET         => '/char/CharacterSheet.xml.aspx',
	API_CHAR_CONTACTLIST            => '/char/ContactList.xml.aspx',
	API_CHAR_CONTACTNOTIFICATIONS   => '/char/ContactNotifications.xml.aspx',
	API_CHAR_FAXWARSTATS            => '/char/FacWarStats.xml.aspx',
	API_CHAR_INDUSTRYJOBS           => '/char/IndustryJobs.xml.aspx',
	API_CHAR_KILLLOG                => '/char/Killlog.xml.aspx',
	API_CHAR_MAILBODIES             => '/char/MailBodies.xml.aspx',
	API_CHAR_MAILINGLISTS           => '/char/MailingLists.xml.aspx',
	API_CHAR_MAILMESSAGES           => '/char/MailMessages.xml.aspx',
	API_CHAR_MARKETORDERS           => '/char/MarketOrders.xml.aspx',
	API_CHAR_MEDALS                 => '/char/Medals.xml.aspx',
	API_CHAR_NOTIFICATIONS          => '/char/Notifications.xml.aspx',
	API_CHAR_NOTIFICATIONSTEXT      => '/char/NotificationsText.xml.aspx',
	API_CHAR_RESEARCH               => '/char/Research.xml.aspx',
	API_CHAR_SKILLINTRAINING        => '/char/SkillInTraining.xml.aspx',
	API_CHAR_SKILLQUEUE             => '/char/SkillQueue.xml.aspx',
	API_CHAR_STANDINGS              => '/char/Standings.xml.aspx',
	API_CHAR_UPCOMINGCALENDAREVENTS => '/char/UpcomingCalendarEvents.xml.aspx',
	API_CHAR_WALLETJOURNAL          => '/char/WalletJournal.xml.aspx',
	API_CHAR_WALLETTRANSACTIONS     => '/char/WalletTransactions.xml.aspx',
#Corporation API
	API_CORP_ACCOUNTBALANCE      => '/corp/AccountBalance.xml.aspx',
	API_CORP_ASSETLIST            => '/corp/AssetList.xml.aspx',
	API_CORP_CONTACTLIST          => '/corp/ContactList.xml.aspx',
	API_CORP_CONTAINERLOG         => '/corp/ContainerLog.xml.aspx',
	API_CORP_CORPORATIONSHEET     => '/corp/CorporationSheet.xml.aspx',
	API_CORP_FACWARSTATS          => '/corp/FacWarStats.xml.aspx',
	API_CORP_INDUSTRYJOBS         => '/corp/IndustryJobs.xml.aspx',
	API_CORP_KILLOG               => '/corp/Killlog.xml.aspx',
	API_CORP_MARKETORDERS         => '/corp/MarketOrders.xml.aspx',
	API_CORP_MEDALS               => '/corp/Medals.xml.aspx',
	API_CORP_MEMBERMEDALS         => '/corp/MemberMedals.xml.aspx',
	API_CORP_MEMBERSECURITY       => '/corp/MemberSecurity.xml.aspx',
	API_CORP_MEMBERSECURITYLOG    => '/corp/MemberSecurityLog.xml.aspx',
	API_CORP_MEMBERTRACKING       => '/corp/MemberTracking.xml.aspx',
	API_CORP_OUTPOSTLIST          => '/corp/OutpostList.xml.aspx',
	API_CORP_OUTPOSTSERVICEDETAIL => '/corp/OutpostServiceDetail.xml.aspx',
	API_CORP_SHAREHOLDERS         => '/corp/Shareholders.xml.aspx',
	API_CORP_STANDINGS            => '/corp/Standings.xml.aspx',
	API_CORP_STARBASEDETAIL       => '/corp/StarbaseDetail.xml.aspx',
	API_CORP_STARBASELIST         => '/corp/StarbaseList.xml.aspx',
	API_CORP_TITLES               => '/corp/Titles.xml.aspx',
	API_CORP_WALLETJOURNAL        => '/corp/WalletJournal.xml.aspx',
	API_CORP_WALLETTRANSACTIONS   => '/corp/WalletTransactions.xml.aspx',
#Eve API
	API_EVE_ALLIANCELIST           => '/eve/AllianceList.xml.aspx',
	API_EVE_CERTIFICATETREE        => '/eve/CertificateTree.xml.aspx',
	API_EVE_CHARACTERID            => '/eve/CharacterID.xml.aspx',
	API_EVE_CHARACTERINFO          => '/eve/CharacterInfo.xml.aspx',
	API_EVE_CHARACTERNAME          => '/eve/CharacterName.xml.aspx',
	API_EVE_CONQUERABLESTATIONLIST => '/eve/ConquerableStationList.xml.aspx',
	API_EVE_ERRORLIST              => '/eve/ErrorList.xml.aspx',
	API_EVE_FACWARSTATS            => '/eve/FacWarStats.xml.aspx',
	API_EVE_FACWARTOPSTATS         => '/eve/FacWarTopStats.xml.aspx',
	API_EVE_REFTYPES               => '/eve/RefTypes.xml.aspx',
	API_EVE_SKILLTREE              => '/eve/SkillTree.xml.aspx',
#Map API
	API_MAP_FACWARSYSTEMS      => '/map/FacWarSystems.xml.aspx',
	API_MAP_JUMPS              => '/map/Jumps.xml.aspx',
	API_MAP_KILLS              => '/map/Kills.xml.aspx',
	API_MAP_SOVEREIGNTY        => '/map/Sovereignty.xml.aspx',
	#API_MAP_SOVEREIGNTYSTATUS => '/map/SovereigntyStatus.xml.aspx',  #API Disabled
#Server API
	API_SERVER_SERVERSTATUS    => '/server/ServerStatus.xml.aspx',

#Directory variables
	DATA_DIR   => './data/',
	CACHE_DIR  => './cache/',
	DUMP_DIR   => './dumps/',
	OUTPUT_DIR => './output/',
	LOG_DIR    => './logs/',
	LOG_FILE   => 'logfile.log',
	DEBUG_FILE => 'debug.log',

#Eve API servers
	TRANQUILITY => 'https://api.eveonline.com',
	SINGULARITY => 'http://apitest.eveonline.com'
};

1;
